﻿@REM $Id: cp2pda.bat 103 2008-02-09 12:12:28Z honghunter $
@REM $LastChangedRevision: 103 $
@REM $LastChangedBy: honghunter $
@REM $URL: https://dps4u.googlecode.com/svn/trunk/club.book.sina.com.cn/update-book-site/cp2pda.bat $
@REM $LastChangedDate: 2008-02-09 12:12:28 +0000 (Sat, 09 Feb 2008) $
@REM 

@ECHO OFF

REM *确保执行过环境设置*
IF "%DPS4E_HOME%"=="" SET DPS4E_HOME=D:\dev\dps4e
IF "%ORG_PATHE%"=="" CALL %DPS4E_HOME%\club.book.sina.com.cn\env_setting.bat

CALL  n.bat

IF NOT EXIST "%DPS4E_HOME%\pda\." mkdir %DPS4E_HOME%\pda
SET PDA_FILE=%DPS4E_HOME%\pda\%TMP_BOOK_NAME%_%TMP_BOOK_ID%.txt
if exist "%PDA_FILE%" del /q "%PDA_FILE%"
copy full.txt "%PDA_FILE%"

@echo ****** ****** ******
@echo Copy to PDA Process OK.
@echo ****** ****** ******

@echo on
